Generic Wrapping
نویسندگان
چکیده
Component software means reuse and separate marketing of pre-manufactured binary components. This requires components from different vendors to be composed very late, possibly by end users at run time as in compound-document frameworks. To this aim, we propose generic wrappers, a new language construct for strongly typed class-based languages. With generic wrappers, objects can be aggregated at run time. The aggregate belongs to a subtype of the actual type of the wrapped object. A lower bound for the type of the wrapped object is fixed at compile time. Generic wrappers are type safe and support modular reasoning. This feature combination is required for true component software but is not achieved by known wrapping and combination techniques, such as the wrapper pattern or mix-ins. We analyze the design space for generic wrappers, e.g. overriding, forwarding vs. delegation, and snappy binding of the wrapped object. As a proof of concept, we add generic wrappers to Java and report on a mechanized type soundness proof of the latter.
منابع مشابه
Generic Wrappers
Component software means reuse and separate marketing of pre-manufactured binary components. This requires components from different vendors to be composed very late, possibly by end users at run time as in compound-document frameworks. To this aim, we propose generic wrappers, a new language construct for stronglytyped class-based languages. With generic wrappers, objects can be aggregated at ...
متن کاملExact Gift Wrapping to Prune the Tree of Edges of Newton Polytopes to Compute Pretropisms
Pretropisms are candidates for the leading exponents of Puiseux series that represent solutions of polynomial systems. To find pretropisms, we propose an exact gift wrapping algorithm to prune the tree of edges of a tuple of Newton polytopes. We prefer exact arithmetic not only because of the exact input and the degrees of the output, but because of the often unpredictable growth of the coordin...
متن کاملToy models for wrapping effects
The anomalous dimensions of local single trace gauge invariant operators in N = 4 supersymmetric Yang-Mills theory can be computed by diagonalizing a long range integrable Hamiltonian by means of a perturbative asymptotic Bethe ansatz. This formalism breaks down when the number of fields of the composite operator is smaller than the range of the Hamiltonian which coincides with the order in per...
متن کاملObject Graph Isolation with Proxies
More and more software systems are now made of multiple collaborating third-party components. Enabling fine-grained control over the communication between components becomes a major requirement. While software isolation has been studied for a long time in operating systems (OS), most programming languages lack support for isolation. In this context we explore the notion of proxy. A proxy is a s...
متن کاملQuiver Matrix Mechanics for IIB String Theory (II): Generic Dual Tori, Fractional Matrix Membrane and SL(2,Z) Duality
With the deconstruction technique, the geometric information of a torus can be encoded in a sequence of orbifolds. By studying the Matrix Theory on these orbifolds as quiver mechanics, we present a formulation that (de)constructs the torus of generic shape on which Matrix Theory is “compactified”. The continuum limit of the quiver mechanics gives rise to a (1+2)dimensional SYM. A hidden (fourth...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000